package com.sz.youban.dt.entity.allinpay;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 支付回调地址记录
 * </p>
 *
 * @author ruichar
 * @since 2017-06-15
 */
@TableName("dt_pay_invoke_records")
public class DtPayInvokeRecords extends Model<DtPayInvokeRecords> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 交易流水号
     */
	@TableField("deal_no")
	private String dealNo;
    /**
     * 回调地址
     */
	private String url;
    /**
     * 时间戳
     */
	private Date tsp;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}


	public String getDealNo() {
		return dealNo;
	}

	public void setDealNo(String dealNo) {
		this.dealNo = dealNo;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Date getTsp() {
		return tsp;
	}

	public void setTsp(Date tsp) {
		this.tsp = tsp;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
